home *** CD-ROM | disk | FTP | other *** search
Wrap
<html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <title>Configure Security</title> <link rel="stylesheet" type="text/css" href="css/rpmstyle.css"> <style> .GTabBox { height : 200; width : 530; border: none; background-color : activeborder } </style> </head> <body class="bodyc" language="JavaScript" RPMHostIP="!BreakoutBot:MonitorIP!" RPMHostPort="!BreakoutBot:MonitorPort!" RPMUserName="!BreakoutBot:UserName!" BOBDone="!BreakoutBot:Done!" onload="top.banner.savePageCoord(event,document.body,'AdminSecurity'); InitRpmCC_AS();" onbeforeunload="DiscoRpmCC_AS()" onresize="processSizeChange()" onclick="checkClick()" onkeydown="processBSP()"> <script LANGUAGE="JavaScript"> <!-- var UMode = ""; // Mode of Operation, New, Edit, Delete, Lookup var UserLupRecCount = 0; // Count of records returned from User Lookup operation var UserSelectIdx = 0; // Index of currently selected User var UserRecLength = 7; // User Lookup record length var ignoreDBChangeEvent = false; var ReconnectEvent = false; var Hp = 82; var Tid = null; var SLOrigSate = "", SLOrigPort = ""; // Capture and ignore script errors window.onerror = wwScrErr; function wwScrErr() { return true; } /* On Load tell the Comm control to Connect to the Server */ function InitRpmCC_AS() { top.MainLoaded = true; // Flag that Main is now loaded initButtonState(); // set initial button states Hp = parseInt(document.body.RPMHostPort,10); RpmCC_AS.Connect(document.body.RPMHostIP,Hp, ""); processSizeChange(); } function processReconnect() { Tid = null; if ( RpmCC_AS.IsConnected() ) { Tid = setTimeout("processConnectionCheck()",30000); // Delay 30 secs then check connection return; } RpmCC_AS.Connect(document.body.RPMHostIP,Hp, ""); } function processConnectConfirmed() { // Restore Filter and Computer Store if ( ReconnectEvent == false ) { RpmCC_AS.SecurityGet(); // Request Security State RpmCC_AS.GetAutoAgentRegister(); // Request AutoAgentRegister State //RpmCC_AS.GetSYSLOGParms(); // Request SYSLOG Parms processLookupReset(); // go do User Lookup ReconnectEvent = true; } top.Rstatus.Pstat("Connected"); if ( Tid != null ) { clearTimeout(Tid); // stop timeout routine } Tid = setTimeout("processConnectionCheck()",30000); // Delay 30 secs then check connection } function processConnectionCheck() { Tid = null; RpmCC_AS.SendKeepAlive("Check"); Tid = setTimeout("processConnectionCheck()",30000); // Delay 30 secs then check connection } /* On Unload tell the Comm control to Disconnect from the Server */ function DiscoRpmCC_AS() { RpmCC_AS.Disconnect(); top.banner.processStopCommX(); if ( Tid != null ) { clearTimeout(Tid); // stop timeout routine } } function processNewButton() { UMode = "New"; // Set Mode of operation AS_User.value = ""; // clear Name field AS_Desc.value = ""; // clear Description field AS_Pswd.value = ""; // clear Password field AS_VPswd.value = ""; // clear Verify password field AS_AAdmin.checked = "checked"; AS_AAnalyst.checked = "checked"; AS_AnalystRights[0].checked = "checked"; commonNew_Edit(); // Do common processing } function processEditButton() { UMode = "Edit"; // Set Mode of operation commonNew_Edit(); // Do common processing processAnalystRights(); } function commonNew_Edit() { //Common processing for New and Edit /* enable input fields */ AS_User.className = ""; AS_Desc.className = ""; AS_Pswd.className = ""; AS_VPswd.className = ""; AS_AAnalyst.className = ""; AS_AAdmin.className = ""; AS_AAnalyst.disabled = ""; AS_AAdmin.disabled = ""; AS_AnalystRights[0].className = ""; AS_AnalystRights[0].disabled = ""; AS_AnalystRights[1].className = ""; AS_AnalystRights[1].disabled = ""; /* enable and disable appropriate buttons */ SetButtonState(UNewButton,"1"); SetButtonState(UEditButton,"1"); SetButtonState(UDeleteButton,"1"); SetButtonState(UUpdateButton,"0"); SetButtonState(UResetButton,"0"); /* enable appropriate User Name fields */ AS_User.style.display = ""; AS_UserSel.style.display = "none"; AS_User.focus(); } function processUpdateButton() { /* get input which is validated when first entered */ AS_UName = AS_User.value; AS_UDesc = AS_Desc.value; AS_UPswd = AS_Pswd.value; AS_UAAd = (AS_AAdmin.checked) ? "1" : "0"; AS_UAAn = (AS_AAnalyst.checked) ? "1" : "0"; AS_UARn = (AS_AnalystRights[0].checked) ? "1" : "0"; if (AS_UName.length == 0) { // if no name entered top.Rstatus.Pstat("Please enter a name",true); alert("Please enter a name"); AS_User.focus(); } else if (AS_UPswd != AS_VPswd.value) { top.Rstatus.Pstat("Verify Password Does Not Match Password, please reenter both",true); alert("Verify Password Does Not Match Password, please reenter both"); AS_Pswd.focus(); } else { /* inhibit Update Button now */ SetButtonState(UUpdateButton,"1"); /* Determine if UMode is "New" or "Edit" and send data to DataBase Server appropriately */ if (UMode == "New") { rstat = RpmCC_AS.UserAdd(AS_UName,AS_UDesc+"[]"+AS_UARn,AS_UPswd,AS_UAAd,AS_UAAn); } else { // "Edit" OrigName = AS_UserSel.options[UserSelectIdx].text; AS_UserID = getUserID(OrigName); rstat = RpmCC_AS.UserReplace(AS_UserID,AS_UName,AS_UDesc+"[]"+AS_UARn,AS_UPswd,AS_UAAd,AS_UAAn); } if ( rstat ) { // if unable to initiate request top.Rstatus.Pstat("Unable to start the UPDATE request",true); processReset(); } else { // waiting for OperationCompleteEvent ignoreDBChangeEvent = true; top.Rstatus.Pstat("One moment while UPDATE request completes"); } } } function processDeleteButton() { UMode = "Delete"; // set mode of operation AS_UName = AS_User.value; // get User Name /* ask user to confirm delete */ if ( confirm("Are you sure you want to delete: " + AS_UName + " ?") ) { if ( UserLupRecCount == 1 && ES.checked == true ) { if ( !confirm("This is the last User record. Deleing it will disable security. Do you want to proceed?\n -Press OK to proceed with deleting this last record and disable security\n -Press Cancel to ignore") ) { return; // ignore } ES.checked = ""; // unckeck Enable Security if ( RpmCC_AS.SecuritySet("0") ) { // disable security top.Rstatus.Pstat("Unable to save Global Enable Security setting",true); return; // ignore } } /* inhibit Edit and Delete now */ SetButtonState(UEditButton,"1"); SetButtonState(UDeleteButton,"1"); AS_UserID = getUserID(AS_UName); // Get User ID from Name /* send DELETE request to DataBase Server */ if ( RpmCC_AS.UserDelete(AS_UserID) ) { top.Rstatus.Pstat("Unable to start the DELETE request",true); processReset(); } else { // waiting for OperationCompleteEvent ignoreDBChangeEvent = true; top.Rstatus.Pstat("One moment while DELETE request completes"); } } } /* Initial User Lookup Request */ function processLookupReset() { /* Make sure User Store and User Name combo are flushed */ lth = AS_UserSel.length; for (i=0; i < lth; ++i) AS_UserSel.remove(0); lth = AS_UserStore.length; for (i=0; i < lth; ++i) AS_UserStore.remove(0); UserLupRecCount = 0; // clear Lookup record counter if ( RpmCC_AS.UserLookup("","") ) { UMode = ""; top.Rstatus.Pstat("Unable to start the User LOOKUP request",true); } else { UMode = "Lookup"; // set Mode of operation top.Rstatus.Pstat("One moment while User LOOKUP request completes"); } } /* Reset Processing after initial and subsequent User operations */ function processResetButton() { if ( UserLupRecCount == 0 ) { processCommonReset(); SetButtonState(UEditButton,"1"); SetButtonState(UDeleteButton,"1"); UserSelectIdx = 0; // reset index } else { if ( UMode == "Edit" ) { populateInput(UserRecLength*UserSelectIdx); processCommonReset(); // common button and field reset } else { populateInput(0); // set input fields UserSelectIdx = 0; // reset index processCommonReset(); // common button and field reset /* select and focus to 1st name entry */ AS_UserSel.options[0].selected = "selected"; if ( AS_UserSel.style.visibility != "hidden" ) { AS_UserSel.focus(); } } } } /* Process Combo User Name Change Event */ function processUserName() { Nobj = AS_UserSel; // get object for (i=0; i < Nobj.length; ++i) { if ( Nobj.options[i].selected ) { UserSelectIdx = i; populateInput(UserRecLength*i); break; } } } function populateInput(idx) { StoreObj = AS_UserStore; AS_User.value = StoreObj.options[idx+0].text; // Synchronize name field with Store name field AS_Desc.value = (StoreObj.options[idx+2].text.length == 0) ? "" : StoreObj.options[idx+2].text; AS_Pswd.value = (StoreObj.options[idx+3].text.length == 0) ? "" : StoreObj.options[idx+3].text; AS_VPswd.value = AS_Pswd.value; AS_AAdmin.checked = StoreObj.options[idx+4].text; AS_AAnalyst.checked = StoreObj.options[idx+5].text; if ( StoreObj.options[idx+6].text == "1" ) AS_AnalystRights[0].checked = "checked"; else AS_AnalystRights[1].checked = "checked"; } function updateStore(idx) { StoreObj = AS_UserStore; AS_UName = AS_User.value; // User Name AS_UserSel.options[idx].text = AS_UName; // Update name in case edited si = UserRecLength * idx; // index into Store for correct entry StoreObj.options[si+0].text = AS_UName; StoreObj.options[si+2].text = (AS_Desc.value.length == 0) ? "" : AS_Desc.value; StoreObj.options[si+3].text = (AS_Pswd.value.length == 0) ? "" : AS_Pswd.value; StoreObj.options[si+4].text = (AS_AAdmin.checked) ? "checked" : ""; StoreObj.options[si+5].text = (AS_AAnalyst.checked) ? "checked" : ""; StoreObj.options[si+6].text = (AS_AnalystRights[0].checked) ? "1" : "0"; } /* Process User OP Complete Event */ function processUserOpComplete() { top.Rstatus.Pstat("Request Completed"); if (UMode == "Lookup") { if (UserLupRecCount == 0) { // check if any records found top.Rstatus.Pstat("No record matches found for User LOOKUP request",true); } processResetButton(); } else if (UMode == "Edit") { /* update the Storage */ updateStore(UserSelectIdx); processCommonReset(); // common button and field reset if ( AS_UserSel.style.visibility != "hidden" ) { AS_UserSel.focus(); } } else if (UMode == "Delete") { /* update the Storage */ dix = UserRecLength*UserSelectIdx; for (i=0; i < UserRecLength; ++i) { AS_UserStore.remove(dix); } --UserLupRecCount; // adjust user record count AS_UserSel.remove(UserSelectIdx); if (AS_UserSel.length == 0) { // if no more Users AS_Desc.value = ""; // clear Description field AS_Pswd.value = ""; // clear Password field AS_VPswd.value = ""; // clear Verify password field UserLupRecCount = 0; // clear Lookup record counter ES.checked = ""; } processResetButton(); } else { // UMode New /* Reset for next */ processLookupReset(); } } /* Process common button and field reset items */ function processCommonReset() { AS_Desc.className = "idis"; AS_Pswd.className = "idis"; AS_VPswd.className = "idis"; AS_AAdmin.className = "idis"; AS_AAnalyst.className = "idis"; AS_AAdmin.disabled = "disabled"; AS_AAnalyst.disabled = "disabled"; AS_AnalystRights[0].className = "idis"; AS_AnalystRights[0].disabled = "disabled"; AS_AnalystRights[1].className = "idis"; AS_AnalystRights[1].disabled = "disabled"; /* enable and disable appropriate buttons */ SetButtonState(UNewButton,"0"); SetButtonState(UEditButton,"0"); SetButtonState(UDeleteButton,"0"); SetButtonState(UUpdateButton,"1"); SetButtonState(UResetButton,"1"); /* enable appropriate User Name fields */ AS_User.style.display = "none"; AS_UserSel.style.display = ""; } function processKeyPress() { /* get KeyCode and check if invalid */ kc = event.keyCode; stat = 1; // default to OK // Keys: ~ % [ ] # ! if (kc == 126 || kc == 37 || kc == 91 || kc == 93 || kc == 35 || kc == 33) { // Not acceptable stat = 0; } // Keys: * ? else if ( (kc == 42 || kc == 63) && event.srcElement.name != "AS_User" ) { //Not acceptable stat = 0; } if (stat == 0) { // if Not Acceptable event.returnValue=false; top.Rstatus.Pstat("Keys ~%*?[]#! are not accepted for this field"); alert("Keys ~%*?[]#! are not accepted for this field"); } else { top.Rstatus.Pstat(""); // clear status line } } function processKeyPressPassword() { /* get KeyCode and check if invalid */ kc = event.keyCode; stat = 1; // default to OK // Keys: ~ if (kc == 126) { // Not acceptable stat = 0; } // Keys: * ? if (stat == 0) { // if Not Acceptable event.returnValue=false; top.Rstatus.Pstat("Tilde Key '~' is not accepted for this field"); alert("Tilde Key '~' is not accepted for this field"); } else { top.Rstatus.Pstat(""); // clear status line } } /* Process User LOOKUP RECORD Event */ function processUserLookupRecord(Uid,UserName,UserDesc,UPswd,UAAdm,UAAnl) { wrkarr = new Array(); ++UserLupRecCount; // bump record received counter UNameObj = AS_UserSel; // User Name Combo box StoreObj = AS_UserStore; // Storage UAAdm = (UAAdm == "0") ? "" : "checked"; UAAnl = (UAAnl == "0") ? "": "checked"; wrkarr = UserDesc.split("[]"); if ( wrkarr.length < 2 ) { wrkarr[1] = "1"; } addElementToSelect(UNameObj,UserName); addElementToSelect(StoreObj,UserName); addElementToSelect(StoreObj,Uid); addElementToSelect(StoreObj,wrkarr[0]); // Description addElementToSelect(StoreObj,UPswd); addElementToSelect(StoreObj,UAAdm); addElementToSelect(StoreObj,UAAnl); addElementToSelect(StoreObj,wrkarr[1]); // Analyst Rights } /* Process the Verify Password fields */ function processVerifyPassword() { if ( AS_Pswd.value != AS_VPswd.value) { AS_VPswd.value = ""; top.Rstatus.Pstat("Verify Password Does Not Match Password, please reenter it",true); alert("Verify Password Does Not Match Password, please reenter it"); AS_VPswd.focus(); } else { top.Rstatus.Pstat(""); // clear status line } } /* Process DB Error in User Lookup Operation */ function processUserOpError() { top.Rstatus.Pstat("An error occurred during User LOOKUP operation",true); processResetButton(); // reset } /* Process Duplicate Error in User Add / Replace Operation */ function processUserUpdateErrorDuplicate() { top.Rstatus.Pstat("A duplicate User already exist in the DataBase. Cannot complete the UPDATE request",true); processResetButton(); // reset } /* Process User ID Not Found Error in EDIT/UPDATE Operation */ function processUserUpdateErrorBadUser() { top.Rstatus.Pstat("User not found in the DataBase. Cannot complete the UPDATE/DELETE request",true); processResetButton(); // reset } /* Get User Name from Store based on User ID */ function getUserName(UID) { UNobj = AS_UserStore; // get object UserName = ""; for (i=0, j=0; i < UNobj.length; ++j, i+=UserRecLength) { if ( UNobj.options[i+1].text == UID ) { UserName = UNobj.options[i].text; UserSelectIdx = j; AS_UserSel.options[j].selected = "selected"; break; } } return UserName; } /* Get User ID from Store based on User Name */ function getUserID(UNM) { UNobj = AS_UserStore; // get object UID = 0; for (i=0, j=0; i < UNobj.length; ++j, i+=UserRecLength) { if ( UNobj.options[i].text == UNM ) { UserSelectIdx = j; UID = UNobj.options[i+1].text; break; } } return UID; } // Process Click Event for the Enable Global Security and AutoAgent Registration checkboxes function processES_AAR(cob) { cob.checked = ( cob.checked == "" ) ? "checked" : ""; enableApplyBut(); } // Process Apply Button Click function processApplyClick() { ESset = (ES.checked == true) ? "1" : "0"; // Get Enable Security setting AARset = (AAR.checked == true) ? "1" : "0"; // Get AutoAgent Registration setting SetButtonState(RsApplyBut,"1"); // disable Apply button if ( ESset == "1") { if ( UserLupRecCount == 0 ) { alert("The Enable Security setting is checked but there are no User records defined. You must define at least one User record here, so you can subsequently log-in, before you can enable security!"); ES.checked = ""; return; // ignore } else if ( !confirm("Are you sure you want to enable security? You will need a log-in and password, defined here in a User record, on the next attempt to connect to the MonitorIT Server!\n -Press OK to proceed with Enable Security\n -Press Cancel to ignore") ) { ES.checked = ""; return; // ignore } } if ( RpmCC_AS.SecuritySet(ESset) ) { top.Rstatus.Pstat("Unable to save Global Enable Security setting",true); } if ( RpmCC_AS.SetAutoAgentRegister(AARset) ) { top.Rstatus.Pstat("Unable to save Auto Agent Registration setting",true); } var OFE = (LSM.checked) ? "0" : "1"; var ucon = false; if ( !(SLOrigSate == OFE && SLOrigPort == AS_SLPort.value) ) { if ( OFE == "1" ) { if ( confirm("Are you sure you want to Disable the SYSLOG Listening?\n\n Press OK to proceed with Disable.\n Press CANCEL to ignore.") ) { ucon = true; } } else { if ( confirm("Are you sure you want to Enable the SYSLOG Listening?\n\n Press OK to proceed with Enable.\n Press CANCEL to ignore.") ) { ucon = true; } } if ( ucon == true ) { if ( RpmCC_AS.SetSYSLOGParms(OFE+"~"+AS_SLPort.value) ) { top.Rstatus.Pstat("Unable to set the SYSLOG parameters",true); alert("Unable to set the SYSLOG parameters"); } else { SLOrigSate = OFE; SLOrigPort = AS_SLPort.value; top.Rstatus.Pstat("SYSLOG Parameters Set",true); } } } } // Enable Apply Button function enableApplyBut() { SetButtonState(RsApplyBut,"0"); } /* Set initial button state for all buttons */ function initButtonState() { SetButtonState(UNewButton,"0"); SetButtonState(UEditButton,"1"); SetButtonState(UDeleteButton,"1"); SetButtonState(UUpdateButton,"1"); SetButtonState(UResetButton,"1"); } function SetButtonState(BtObj,BState) { //BtObj.className = (BState == "0") ? "BoxButton" : "BoxButtonD"; BtObj.disabled = (BState == "0") ? "" : "disabled"; BtObj.bdis = BState; } function processSizeChange() { //PopUpContext Menu bCw = document.body.clientWidth; PopUpContextSize(bCw); } function processAnalystRights() { if ( AS_AAnalyst.checked ) { AS_AnalystRights[0].className = ""; AS_AnalystRights[0].disabled = ""; AS_AnalystRights[1].className = ""; AS_AnalystRights[1].disabled = ""; } else { AS_AnalystRights[0].className = "idis"; AS_AnalystRights[0].disabled = "disabled"; AS_AnalystRights[1].className = "idis"; AS_AnalystRights[1].disabled = "disabled"; } } function PopUpContextOpen() { AS_UserSel.style.visibility = "hidden"; } function PopUpContextClose() { AS_UserSel.style.visibility = "visible"; } //--> </script> <script LANGUAGE="JavaScript" src="js/MiscFunc.js"></script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="Connected()"> <!-- processConnectConfirmed(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="Disconnected()"> <!-- top.Rstatus.Pstat("Disconnected",true); if ( Tid != null ) { clearTimeout(Tid); // stop timeout routine } Tid = setTimeout("processReconnect()",10000); // Delay 10 secs then try reconnnect //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="DBChanged(cdata)"> <!-- /* if ( ignoreDBChangeEvent == false) { top.banner.processDBChangeNotifyEvent(cdata); } ignoreDBChangeEvent = false; */ //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="GetSYSLOGParms(aps)"> <!-- var warr = new Array(); warr = aps.split("~"); LSM.checked = (warr[0] == "0") ? "checked" : ""; AS_SLPort.value = warr[1]; SLOrigSate = warr[0]; SLOrigPort = warr[1]; //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="SecuritySetting(secVal)"> <!-- ES.checked = (secVal == true) ? "checked" : ""; //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="SecurityOpComplete()"> <!-- top.Rstatus.Pstat("Global settings saved"); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="SecurityOpError()"> <!-- top.Rstatus.Pstat("Error reading Global Security setting",true); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="AutoAgentRegSetting(aarVal)"> <!-- AAR.checked = (aarVal == true) ? "checked" : ""; //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="AutoAgentRegOpComplete()"> <!-- top.Rstatus.Pstat("Global settings saved"); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="AutoAgentRegOpOpError()"> <!-- top.Rstatus.Pstat("Error reading Automatic Agent Registration setting",true); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserAddErrorDuplicate()"> <!-- processUserUpdateErrorDuplicate(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserErrorDeleteNotFound()"> <!-- processUserUpdateErrorBadUser(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserOpComplete()"> <!-- processUserOpComplete(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserOpError()"> <!-- processUserOpError(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserLookupRecord(Uid,UNme,UDesc,UPswd,UAAdm,UAAnl)"> <!-- processUserLookupRecord(Uid,UNme,UDesc,UPswd,UAAdm,UAAnl); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserErrorReplaceNotFound()"> <!-- processUserUpdateErrorBadUser(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserReplaceErrorDuplicate()"> <!-- processUserUpdateErrorDuplicate(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="UserErrorAddDuplicate()"> <!-- processUserUpdateErrorDuplicate(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="StartCommunication()"> <!-- top.banner.processStartComm(); //--> </script> <script LANGUAGE="JavaScript" FOR="RpmCC_AS" EVENT="StopCommunication()"> <!-- top.banner.processStopComm(); //--> </script> <script LANGUAGE="JavaScript" src="js/PopUpMenuFunc.js"></script> <object ID="RpmCC_AS" NAME="RpmCC_AS" WIDTH="14" HEIGHT="1" style="display:none" CLASSID="CLSID:D88C2358-FC83-11D1-BF49-00104B2D6F80" CODEBASE="controls/RPMComm.cab#version=5,2,0,0"> <param name="_Version" value="65536"> <param name="_ExtentX" value="2646"> <param name="_ExtentY" value="1341"> <param name="_StockProps" value="0"> </object> <center><div class="GTabBox" border="0" > <center> <div align="left" style="clear:both"> <table border="1" borderColor="activeborder" align="left"> <tr><td borderColorDark="graytext" borderColorLight="white" height="25" style="font-weight:800; font-size:12pt; background-color:threedhighlight; color:windowtext"> <img src="images/sAdminSecurity.gif" align="absmiddle" height="20" width="20"> Configure Security </td><td width="*"></td> </tr></table><br><br> </div> <div align="center" style="clear:both"> <table class="fldset" border="0" width="526" cellspacing="3" cellpadding="2" height="210"> <tr> <td width="522" height="180"> <div align="left"> <table border="0" width="520" cellspacing="3" cellpadding="2" height="170"> <tr> <td width="126" align="right" class="inputlabel" height="25">User Name:</td> <td width="394" height="25"><input TYPE="text" SIZE="37" NAME="AS_User" maxLength="40" onkeypress="processKeyPress();" onkeydown="processKeyDown();" style="display: none"> <select ONCHANGE="processUserName()" SIZE="1" NAME="AS_UserSel" class="idis" style="width: 190pt"> </select> <select SIZE="1" NAME="AS_UserStore" style="display: none"> </select> </td> </tr> <tr> <td width="126" align="right" class="inputlabel" height="20">Password:</td> <td width="394" height="20"><input TYPE="password" SIZE="30" NAME="AS_Pswd" maxLength="20" onkeypress="processKeyPressPassword()" onkeydown="processKeyDown();" onFocus="chkDisabled(this)" class="idis"> </td> </tr> <tr> <td width="126" align="right" class="inputlabel" height="20">Verify Password:</td> <td width="394" height="20"><input TYPE="password" SIZE="30" NAME="AS_VPswd" maxLength="20" onkeydown="processKeyDown();" onFocus="chkDisabled(this)" onkeypress="processKeyPressPassword()" onChange="processVerifyPassword()" class="idis"> </td> </tr> <tr> <td width="126" align="right" class="inputlabel" height="20">Description:</td> <td width="394" height="20"><input TYPE="text" SIZE="45" NAME="AS_Desc" maxLength="64" onkeypress="processKeyPress();" onkeydown="processKeyDown();" onFocus="chkDisabled(this)" class="idis"> </td> </tr> <tr> <td width="126" align="right" height="20"></td> <td width="394" class="inputlabel" height="20"><label for="AS_AAdmin"><input TYPE="checkbox" VALUE="0" ID="AS_AAdmin" NAME="AS_AAdmin" onFocus="chkDisabled(this)"> Allow Administration </label></td> </tr> <tr> <td width="126" align="right" height="20"></td> <td width="394" class="inputlabel" height="20"><label for="AS_AAnalyst" onclick="processAnalystRights()"><input TYPE="checkbox" VALUE="0" ID="AS_AAnalyst" onFocus="chkDisabled(this)" NAME="AS_AAnalyst"> Allow Analysis: </label> <input TYPE="radio" NAME="AS_AnalystRights" value="Full Rights" class="idis" onFocus="chkDisabled(this)" checked><span class="inputlabel" > Full Rights </span><input TYPE="radio" NAME="AS_AnalystRights" value="View Only" class="idis" onFocus="chkDisabled(this)"><span class="inputlabel" > View Only</span> </td> </tr> </table> </div> </td> </tr> <tr> <td width="520" height="40"> <table class="fldset" border="1" width="510" cellspacing="1" cellpadding="1" height="40"> <tr> <td width="510" align="center" height="40"> <button id="UNewButton" title="Enter a New User" onclick="if (this.bdis == '0') processNewButton();" bdis="0" style="width:80px; height:28px" style="font-family:arial; font-size : 8pt; font-weight : 600; cursor:hand" disabled><img src="images/NewImg.gif" align="absmiddle" height="14" width="13"> New</button> <button id="UEditButton" title="Edit the selected User" onclick="if (this.bdis == '0') processEditButton();" bdis="0" style="width:80px; height:28px" style="font-family:arial; font-size : 8pt; font-weight : 600; cursor:hand" disabled><img src="images/ConfigImg.gif" align="absmiddle" height="18" width="17"> Edit</button> <button id="UDeleteButton" title="Delete the selected User" onclick="if (this.bdis == '0') processDeleteButton();" bdis="0" style="width:80px; height:28px" style="font-family:arial; font-size : 8pt; font-weight : 600; cursor:hand" disabled><img src="images/DelImg.gif" align="absmiddle" height="14" width="14">Delete</button> <button id="UUpdateButton" title="Update database for the selected User" onclick="if (this.bdis == '0') processUpdateButton();" bdis="0" style="width:80px; height:28px" style="font-family:arial; font-size : 8pt; font-weight : 600; cursor:hand" disabled><img src="images/sSave.gif" align="absmiddle" height="15" width="15"> Save</button> <button id="UResetButton" title="Cancel and return to New" onclick="if (this.bdis == '0') processResetButton();" bdis="0" style="width:80px; height:28px" style="font-family:arial; font-size : 8pt; font-weight : 600; cursor:hand" disabled><img src="images/reset.gif" align="absmiddle" height="15" width="15">Cancel</button></td></tr></table> </tr> <tr> <td width="520" height="150"> <div align="center"> <hr> <table border="0" width="470" cellspacing="0" cellpadding="2" height="105"> <tr> <td colspan="2" align="center" class="titlelabel">Global Security Settings</td> </tr> <tr> <td width="290" align="right" class="inputlabel" height="19" style="cursor:hand" onClick="processES_AAR(ES)">Enable Security:</td> <td width="170" height="19"><input TYPE="checkbox" id="ES" VALUE="0" style="cursor:hand" onClick="enableApplyBut()"> </td> </tr> <tr> <td width="290" align="right" class="inputlabel" height="19" style="cursor:hand" onClick="processES_AAR(AAR)">Enable Automatic Agent Registration:</td> <td width="170" height="19"><input TYPE="checkbox" id="AAR" VALUE="0" style="cursor:hand" onClick="enableApplyBut()"> </td> </tr> <tr style="display:none"> <td width="290" align="right" class="inputlabel" height="25" style="cursor:hand" onClick="processES_AAR(LSM)">Enable Listening for SYSLOG Messages:</td> <td width="170" height="25"><input TYPE="checkbox" id="LSM" VALUE="0" style="cursor:hand" onClick="enableApplyBut()" CHECKED> <span class="inputlabel">Listen On Port: <input TYPE="text" SIZE="5" NAME="AS_SLPort" maxLength="6" onkeypress="processKeyPress();" value="514" onkeydown="processKeyDown();" onFocus="chkDisabled(this)"></span></td> </tr> <tr> <td colspan="2" align="center"><div classFlag="idis" ><table border="1" cellspacing="1" cellpadding="1" height="40" width="60%"><tr><td width="100%" align="center"><button id="RsApplyBut" onclick="processApplyClick()" style="width:80px; height:28px" style="font-family:arial; font-size : 8pt; font-weight : 600; cursor:hand" disabled><img src="images/apply.gif" align="absmiddle" height="16" width="16"> Apply</button></td></tr></table></div> </td> </tr> </table> </div> </td> </tr> </table></div> </center></div> </body> </html>